package com.xuelang.pipeline.client.application.dto;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;

/**
 * @author xiwen.zxg
 * @since 2024/5/27
 */
@Data
public class TraitQuery {


    /**
     * 运维特征UUID
     */
    private String uuid;
    /**
     * 应用编码
     */
    @NotEmpty(message = "应用编码不能为空")
    private String applicationCode;

    /**
     * 组件Label
     */
    @NotEmpty(message = "组件Label不能为空")
    private String componentLabel;

    /**
     * 环境UUID
     */
    @NotEmpty(message = "环境UUID不能为空")
    private String environmentUuid;

    /**
     * 副本数
     */
    private Integer replicas;

    /**
     * 端口
     */
    private String port;

    /**
     * CPU
     */
    private String cpu;

    /**
     * 内存
     */
    private String internalStorage;

    /**
     * 域名
     */
    private String domainName;


}
